package goldberg.drew.twitter;

import java.io.BufferedOutputStream;

public class UserTweets{

	final String userName;
	final int pageNumber;
	final BufferedOutputStream bufferedOutputStream;
 
 
	private UserTweets(final String userName, final int pageNumber, final BufferedOutputStream bufferedOutputStream) {
		this.userName = userName;
		this.pageNumber = pageNumber;
		this.bufferedOutputStream = bufferedOutputStream;
	}

	public static UserTweets create(final String userName, final int pageNumber, final BufferedOutputStream bufferedOutputStream) {
		UserTweets userTweets = new UserTweets(userName, pageNumber, bufferedOutputStream);	
			return userTweets;
	}
}
